/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-09-22 15:21:29
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {

    //工作计划信息新增options
    formObj: [{
            input: true, //是input
            label: "网格责任人单位", //字段
            prop: "fCheckunit", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                    required: true,
                    message: '网格责任人单位不能为空'
                }] //验证
        },
        {
            input: true, //是input
            label: "质量网格类别", //字段
            prop: "fQualitygridclass", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                    required: true,
                    message: '质量网格类别不能为空'
                }] //验证
        }, {
            input: true, //是input
            label: "职务", //字段
            prop: "fDuty", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                    required: true,
                    message: '职务不能为空'
                }] //验证
        }, {
            input: true, //是input
            label: "责任人姓名", //字段
            prop: "fChargeusername", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                    required: true,
                    message: '责任人姓名不能为空'
                }] //验证
        },
        {
            datePicker2: true, //是input
            label: "周总结日期", //字段
            prop: "fWeekdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                    required: true,
                    message: '请选择填报日期'
                }] //验证
        },
        {
            input: true, //是input
            label: "填报周次", //字段
            prop: "fWeekreport", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                    required: true,
                    message: '质量网格类别不能为空'
                }] //验证
        },






        {
            textarea: true, //是input
            label: "本周质量工作", //字段
            prop: "fWeekdutydetail", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                    required: true,
                    message: '本周质量工作不能为空'
                }] //验证
        },

        {
            datePicker: true, //是input
            label: "填报日期", //字段
            prop: "fReportdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                    required: true,
                    message: '请选择现场工作日期'
                }] //验证
        },
        {
            label: "相关资料附件", //字段
            prop: "fFileurl", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                    required: false,
                    message: '请上传现场工作照片'
                }] //验证
        },


    ],


}